package com.zls.fallback;

import com.zls.pojo.User;

public class GlobalFallback {
    /**
     * 必须使用static修饰
     */
    public static User fallbackMethod(Integer id, String nam, Throwable e){
        return new User(id,"this is fallbackMethod of " + nam ,0);
    }
}
